package com.kkb;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.kkb.mapper")
public class AdminApplication {
    private static Logger logger = LoggerFactory.getLogger(AdminApplication.class);
    public static void main(String[] args) {

        /*new SpringApplicationBuilder(LimeApplication.class)
                .web(WebApplicationType.NONE)
                .run(args);*/
        logger.info("系统开始启动。");
        SpringApplication.run(AdminApplication.class, args);
        logger.info("系统启动成功。。。");

    }
}

